﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ChiTiet.ascx.cs" Inherits="UserControl_TinTuc_ChiTiet" %>
<%@ Register assembly="CollectionPager" namespace="SiteUtils" tagprefix="cc1" %>
<asp:DataList ID="DataList1" runat="server" DataKeyField="ID" 
    DataSourceID="SqlDataSource1" Width="100%">
    <ItemTemplate>
        <div>
            <table width="100%">
                <tr>
                    <td>
                        <div ID="page-main-content-title" class="style1" style="outline: 0;">
                        <div class="detailheader">
        &nbsp;<asp:Label ID="lblTitle" runat="server" CssClass="title-item" 
                Text='<%# Eval("TieuDe") %>'></asp:Label>
    </div>
            
        </div>
                        <asp:Label ID="Label1" runat="server"
                            Text='<%# Eval("NgayDang") %>' Font-Size="10px"></asp:Label>
                        <br />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="Label2"    runat="server" Text='<%#"\""+ Eval("GioiThieu")+"\"" %>' 
                          Font-Italic="True" style="font-weight: 700"></asp:Label>
                        <br />
                        
                        <asp:Label ID="Label3"  runat="server" Text='<%# Eval("NoiDung") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="Label4" runat="server" 
                            style=" font-style: italic; font-size: small" 
                            Text='<%# Eval("NguoiDang") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        &nbsp;</td>
                </tr>
            </table>
        </div>    
    </ItemTemplate>
</asp:DataList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
    ConnectionString="<%$ ConnectionStrings:ConnectServer %>" 
    SelectCommand="SELECT * FROM [TinTuc] WHERE ([ID] = @ID)">
    <SelectParameters>
        <asp:QueryStringParameter Name="ID" QueryStringField="ID" Type="Int32" />
    </SelectParameters>
</asp:SqlDataSource>


